//使用sizeof计算每种数据类型的大小

#include <stdio.h>

int main(void){
	printf("sizeof(char) = %d\n",sizeof(char));
	printf("sizeof(int) = %d\n",sizeof(int));
	printf("sizeof(long) = %d\n",sizeof(long));
	printf("sizeof(short) = %d\n",sizeof(short));
	printf("sizeof(float) = %d\n",sizeof(float));
	printf("sizeof(double) = %d\n",sizeof(double));
	return 0;
}
